<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%@ taglib prefix="f" uri="/spring-form" %>
<%@taglib prefix="s" uri="/spring" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE>
<html>
<head>
    <base href="<%=basePath%>">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script type="text/javascript" src="../../../../jquery/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="../../../../js/validator/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../../../../js/layer/layer.js"></script>
    <script type="text/javascript" src="../../../../js/main.js"></script>
    <script type="text/javascript" src="../../../../js/main_function.js"></script>
    <link rel="stylesheet" type="text/css" href="../../../../css/main.css">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Iconos -->
    <link href="../../../../css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../../../../css/style.css" media="screen" type="text/css"/>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <script src="../../../../js/jquery-1.8.3.min.js"></script>
    <script src="../../../../js/index.js"></script>
    <title>添加部门</title>
</head>
<body>
<div id="big">

    <div id="header">
        <jsp:include page="../../main-element/title.jsp"/>
    </div>

    <div id="content">

        <div id="left">
            <jsp:include page="../../main-element/left.jsp"/>

        </div>

        <div id="right">
            <div id="right_title">当前位置:部门管理>添加部门</div>
            <div id="right_add">
                <f:form modelAttribute="dept" action="dept/deptAdd" method="post" id="dept_form">
                    <div class="add_item">
                        <label>部门名称:</label><input type="text" name="name"/><f:errors path="name" cssClass="error"/>
                    </div>
                    <div class="add_item">
                        <label>描述:</label><f:input path="remark"/>
                    </div>
                    <div id="add_submit">
                        <input type="submit" value="添加"/> <input type="reset"
                                                                 value="取消"/>
                    </div>
                </f:form>
            </div>
        </div>

    </div>

</div>
</body>
</html>